package com.ygqh.baby.service;

import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.MsgType;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.WxCustomMsgDetail;

public interface WxCustomMsgDetailService {

	List<WxCustomMsgDetail> find();

	int findCount();

	WxCustomMsgDetail findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(WxCustomMsgDetail wxCustomMsgDetail);

	int update(WxCustomMsgDetail wxCustomMsgDetail);

	int saveOrUpdate(WxCustomMsgDetail wxCustomMsgDetail);

	ResultSet<WxCustomMsgDetail> search(QueryInfo queryInfo, String q, Date startDate, Date endDate);

	List<WxCustomMsgDetail> findBySendDateAndType(Date date, MsgType news);

	void updateStatus(Date sendDate);

}
